package com.binson.consumers.appapi;

import com.binson.common.core.domain.R;
import com.binson.common.model.AppModel;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class AppPayFallBackService implements AppPayService {
    @Override
    public R<?> test(AppModel appModel)  {
        log.info("test 错误，异常信息{}",appModel);
        return R.fail("请求异常");
    }

    @Override
    public R<?> test2(){
        log.error("test 错误，异常信息{}");
        return R.fail("请求异常");
    }
}
